package com.BahavioralPartterns.CommandPattern.example;

import com.BahavioralPartterns.CommandPattern.example.commond.BakeChickenWingCommand;
import com.BahavioralPartterns.CommandPattern.example.commond.BakeMuttonCommand;
import com.BahavioralPartterns.CommandPattern.example.commond.Command;
import com.BahavioralPartterns.CommandPattern.example.invoker.Waiter;
import com.BahavioralPartterns.CommandPattern.example.receiver.Barbecuer;

public class Client {

	public static void main(String[]args){
		Barbecuer b=new Barbecuer();
		Command c1=new BakeChickenWingCommand(b);
		Command c2=new BakeMuttonCommand(b);
		
		Waiter girl=new Waiter();
		girl.setOrder(c1);
		girl.setOrder(c2);
		girl.myNotify();
	}
}
